package com.demo.apparel.mapper.web;

import com.demo.apparel.entity.FeedbackImg;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AdminFeedbackImgMapper {

    /**
     * 根据反馈ID查询所有关联图片
     * @param feedbackId 反馈ID
     * @return 图片列表
     */
    @Select("SELECT * FROM feedback_img WHERE feedback_id = #{feedbackId}")
    List<FeedbackImg> selectByFeedbackId(@Param("feedbackId") String feedbackId);
}
